package tv.geir.slackspace.matching;

import java.util.ArrayList;

import org.apache.commons.lang.builder.EqualsBuilder;

@SuppressWarnings("serial")
public class test extends ArrayList implements Cloneable{
	private int id;
	private String tekst;
	
	public boolean testbool;
	public Long counter;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTekst() {
		return tekst;
	}
	public void setTekst(String tekst) {
		this.tekst = tekst;
	}
	
	@Override
	public boolean equals(Object arg0) {
		if( arg0 == null || !(arg0 instanceof test )) {
			return false;
		}
		
		test rhs = (test) arg0;
		
		return new EqualsBuilder()
		.append(id, rhs.getId())
		.append(tekst, rhs.getTekst())
		.isEquals();
	}
}